// s.r(t),
//   s.d(t, {
//     Pass: () => Pass,
//     FullScreenQuad: () => FullScreenQuad,
//   });
import * as THREE from "three"
import { WebGLRenderer } from "three"
export class Pass {
  enabled: boolean
  needsSwap: boolean
  clear: boolean
  renderToScreen: boolean
  constructor() {
    this.enabled = !0
    this.needsSwap = !0
    this.clear = !1
    this.renderToScreen = !1
  }
  setSize() {}
}
const i = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1)
const a = new THREE.BufferGeometry()
a.setAttribute("position", new THREE.Float32BufferAttribute([-1, 3, 0, -1, -1, 0, 3, -1, 0], 3))
a.setAttribute("uv", new THREE.Float32BufferAttribute([0, 2, 0, 0, 2, 0], 2))
export class FullScreenQuad {
  _mesh: THREE.Mesh
  constructor(e) {
    this._mesh = new THREE.Mesh(a, e)
  }
  dispose() {
    this._mesh.geometry.dispose()
  }
  render(e: WebGLRenderer) {
    e.render(this._mesh, i)
  }
  get material() {
    return this._mesh.material
  }
  set material(e) {
    this._mesh.material = e
  }
}
